class CreateAudioAssetsBroadcasts < ActiveRecord::Migration
  def self.up
    create_table :audio_assets_broadcasts do |t|
	  t.integer :audio_asset_id
	  t.integer :broadcast_id
	  t.timestamps
	end
	
	add_column :ocurrences, :broadcast_id, :integer
  end

  def self.down
    remove_column :ocurrences, :broadcast_id
    drop_table :audio_assets_broadcasts
  end
end
